package mn.idax.exchange.otc.mapper;

import mn.idax.exchange.otc.entity.JPushMessage;
import mn.idax.exchange.otc.entity.JPushMessageExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

@Mapper
public interface JPushMessageMapper {
    int countByExample(JPushMessageExample example);

    int deleteByExample(JPushMessageExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(JPushMessage record);

    int insertSelective(JPushMessage record);

    List<JPushMessage> selectByExampleWithRowbounds(JPushMessageExample example, RowBounds rowBounds);

    List<JPushMessage> selectByExample(JPushMessageExample example);

    JPushMessage selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") JPushMessage record, @Param("example") JPushMessageExample example);

    int updateByExample(@Param("record") JPushMessage record, @Param("example") JPushMessageExample example);

    int updateByPrimaryKeySelective(JPushMessage record);

    int updateByPrimaryKey(JPushMessage record);

}